package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the RECRUIT_ADMINISTRATION database table.
 * 
 */
@Entity
@Table(name="RECRUIT_ADMINISTRATION")
@NamedQuery(name="RecruitAdministration.findAll", query="SELECT r FROM RecruitAdministration r")
public class RecruitAdministration implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="RECRUIT_ADMINISTRATION_READMIID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RECRUIT_ADMINISTRATION_READMIID_GENERATOR")
	@Column(name="READMI_ID")
	private long readmiId;

	@Column(name="READMI_NAME")
	private String readmiName;

	@Column(name="READMI_RESULT")
	private BigDecimal readmiResult;

	//bi-directional many-to-one association to Interviewstate
	@ManyToOne
	@JoinColumn(name="INSTA_ID")
	private Interviewstate interviewstate;

	//bi-directional many-to-one association to Position
	@ManyToOne
	@JoinColumn(name="POSITION_ID")
	private Position position;

	//bi-directional many-to-one association to Recruitplan
	@ManyToOne
	@JoinColumn(name="RECPLAN_ID")
	private Recruitplan recruitplan;

	public RecruitAdministration() {
	}

	public long getReadmiId() {
		return this.readmiId;
	}

	public void setReadmiId(long readmiId) {
		this.readmiId = readmiId;
	}

	public String getReadmiName() {
		return this.readmiName;
	}

	public void setReadmiName(String readmiName) {
		this.readmiName = readmiName;
	}

	public BigDecimal getReadmiResult() {
		return this.readmiResult;
	}

	public void setReadmiResult(BigDecimal readmiResult) {
		this.readmiResult = readmiResult;
	}

	public Interviewstate getInterviewstate() {
		return this.interviewstate;
	}

	public void setInterviewstate(Interviewstate interviewstate) {
		this.interviewstate = interviewstate;
	}

	public Position getPosition() {
		return this.position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public Recruitplan getRecruitplan() {
		return this.recruitplan;
	}

	public void setRecruitplan(Recruitplan recruitplan) {
		this.recruitplan = recruitplan;
	}

}